<script src="js/jquery.validate.js" type="text/javascript"></script>
<script type="text/javascript">

    $(document).ready(function(){
        $("#registrasiForm").validate({
            rules: {
                name: "required",
                email: {
                    required: true,
                    email: true
                },
                phone: {
                    required: true,
                    number: true,
                    minlength: 9
                },
                address: {
                    required: true
                },
                creditcard: {
                    required: true,
                    creditcard: true
                }
            }
        });
    });
</script>

<nav class="navbar navbar-default" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button> <a class="navbar-brand" href="http://localhost:8080/museumfp/panelsuperadmin">Home</a>
    </div>

    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">


            </li>
        </ul>

        <ul class="nav navbar-nav navbar-right">
            <li>
                <a href="#">Logout</a>
            </li>

        </ul>
    </div>

</nav>

<html>
    <head>
        <link rel="stylesheet" type="text/css" href="css/bootstrap-theme.css">
        <link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css">
        <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
        <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="css/style.css">
        <style>
            body { padding-top:30px; }
            .form-control { margin-bottom: 10px; }
        </style>
    </head>
    <body>
        <div class="container">
            <div class="row">
                <div class="col-xs-12 col-sm-12 col-md-4 well well-sm">
                    <legend><a href="http://www.jquery2dotnet.com"><i class="glyphicon glyphicon-globe"></i></a> Registrasi Admin!</legend>
                    <form action="regServlet" method="post" class="form" role="form">
                        <input class="form-control" name="nama" value="" placeholder="Nama" type="text" />
                        <input class="form-control" name="email" placeholder="Email" type="email" />
                        <input class="form-control" name="password" placeholder="New Password" type="password" />
                        <label for="">
                            Bagian Ruang </label>
                        <div class="row">
                            <div class="col-xs-4 col-md-4">
                                <select name="ruang"class="form-control">
                                    <option value="1">Khasanah</option>
                                    <option value="2">Arkeologi</option>
                                    <option value="3">Biologika</option>
                                    <option value="4">Geologika</option>
                                    <option value="5">Budha</option>
                                    <option value="6">Islam</option>
                                    <option value="7">Kolonial</option>
                                    <option value="8">Purba</option>
                                    <option value="9">Teknologi Modern</option>
                                    <option value="10">PerAga IPTEK</option>
                                    <option value="11">Kesenian Tradisional</option>
                                    <option value="12">Tombak</option>
                                    <option value="13">Keris</option>
                                    <option value="14">Gamelan</option>
                                    <option value="15">Lukisan</option>
                                        
                                </select>
                            </div>                

                            <br />
                            <br />
                            <button class="btn btn-lg btn-primary btn-block" name="action"type="submit">
                                Submit</button>
                    </form>
                </div>
            </div>
        </div>
    </body>
</html>